package com.lone.demo.builderpattern.builders;

import com.lone.demo.builderpattern.cars.CarType;
import com.lone.demo.builderpattern.components.Engine;
import com.lone.demo.builderpattern.components.GPSNavigator;
import com.lone.demo.builderpattern.components.Transmission;
import com.lone.demo.builderpattern.components.TripComputer;

/**
 * @author Lone
 * @date 2021/9/22 16:21 周三
 *
 * Builder interface defines all possible ways to configure a product.
 */
public interface Builder {
    void setCarType(CarType type);
    void setSeats(int seats);
    void setEngine(Engine engine);
    void setTransmission(Transmission transmission);
    void setTripComputer(TripComputer tripComputer);
    void setGPSNavigator(GPSNavigator gpsNavigator);
}
